<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/12/16
  Time: 21:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>显示所有用户信息</title>
</head>
<body>
<table align="center" border="1" cellspacing="0" width="600">
    <tr>
        <th>序号</th>
        <th>用户名</th>
        <th>密码</th>
        <th>地址</th>
        <th>昵称</th>
        <th>性别</th>
        <th>邮箱</th>
    </tr>

    <c:forEach items="${listUser}" varStatus="vst" var="user1">
        <tr>
            <td>${vst.count}</td>
            <td>${user1.username}</td>
            <td>${user1.password}</td>
            <td>${user1.address}</td>
            <td>${user1.nickname}</td>
            <td>${user1.gender}</td>
            <td>${user1.email}</td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
